<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>hdcp22_rng: Hdcp22_rng_v1_1</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">hdcp22_rng
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__hdcp22__rng__v1__1.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Hdcp22_rng_v1_1</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_hdcp22___rng___config.html">XHdcp22_Rng_Config</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef contains configuration information for the HDCP22 Rng core.  <a href="struct_x_hdcp22___rng___config.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_hdcp22___rng.html">XHdcp22_Rng</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The XHdcp22 Rng driver instance data.  <a href="struct_x_hdcp22___rng.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gaea4569b3f216fa850fb5ea7682f8e59c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#gaea4569b3f216fa850fb5ea7682f8e59c">XHDCP22_RNG_H</a></td></tr>
<tr class="memdesc:gaea4569b3f216fa850fb5ea7682f8e59c"><td class="mdescLeft">&#160;</td><td class="mdescRight">&lt; Prevent circular inclusions by using protection macros  <a href="#gaea4569b3f216fa850fb5ea7682f8e59c">More...</a><br /></td></tr>
<tr class="separator:gaea4569b3f216fa850fb5ea7682f8e59c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad006a0ad38fbd6e0fef9221d012deaba"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#gad006a0ad38fbd6e0fef9221d012deaba">XHdcp22Rng_Enable</a>(InstancePtr)</td></tr>
<tr class="memdesc:gad006a0ad38fbd6e0fef9221d012deaba"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro enables the HDCP22 RNG peripheral.  <a href="#gad006a0ad38fbd6e0fef9221d012deaba">More...</a><br /></td></tr>
<tr class="separator:gad006a0ad38fbd6e0fef9221d012deaba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga640f54bbe7fcc1a4e40f19b497d1e982"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#ga640f54bbe7fcc1a4e40f19b497d1e982">XHdcp22Rng_Disable</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga640f54bbe7fcc1a4e40f19b497d1e982"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro disables the HDCP22 RNG peripheral.  <a href="#ga640f54bbe7fcc1a4e40f19b497d1e982">More...</a><br /></td></tr>
<tr class="separator:ga640f54bbe7fcc1a4e40f19b497d1e982"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaec0fb65709ad82ac57e967b377d0b76d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#gaec0fb65709ad82ac57e967b377d0b76d">XHdcp22Rng_IsEnabled</a>(InstancePtr)</td></tr>
<tr class="memdesc:gaec0fb65709ad82ac57e967b377d0b76d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro returns the enabled state of HDCP22 RNG.  <a href="#gaec0fb65709ad82ac57e967b377d0b76d">More...</a><br /></td></tr>
<tr class="separator:gaec0fb65709ad82ac57e967b377d0b76d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5eed3855470b5a7c6412d9a513909763"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#ga5eed3855470b5a7c6412d9a513909763">XHDCP22_RNG_HW_H</a></td></tr>
<tr class="memdesc:ga5eed3855470b5a7c6412d9a513909763"><td class="mdescLeft">&#160;</td><td class="mdescRight">&lt; Prevent circular inclusions by using protection macros  <a href="#ga5eed3855470b5a7c6412d9a513909763">More...</a><br /></td></tr>
<tr class="separator:ga5eed3855470b5a7c6412d9a513909763"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8a57666026351d255bf7e60f411dcc44"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#ga8a57666026351d255bf7e60f411dcc44">XHDCP22_RNG_VER_ID_OFFSET</a>&#160;&#160;&#160;((XHDCP22_RNG_VER_BASE)+(0*4))</td></tr>
<tr class="memdesc:ga8a57666026351d255bf7e60f411dcc44"><td class="mdescLeft">&#160;</td><td class="mdescRight">VER Identification register * register offset.  <a href="#ga8a57666026351d255bf7e60f411dcc44">More...</a><br /></td></tr>
<tr class="separator:ga8a57666026351d255bf7e60f411dcc44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga53979633643a30a920e5db152b5aef63"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#ga53979633643a30a920e5db152b5aef63">XHDCP22_RNG_VER_VERSION_OFFSET</a>&#160;&#160;&#160;((XHDCP22_RNG_VER_BASE)+(1*4))</td></tr>
<tr class="memdesc:ga53979633643a30a920e5db152b5aef63"><td class="mdescLeft">&#160;</td><td class="mdescRight">VER Version register * offset.  <a href="#ga53979633643a30a920e5db152b5aef63">More...</a><br /></td></tr>
<tr class="separator:ga53979633643a30a920e5db152b5aef63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae66a591c0a0be5b7980fb6faa4eb0e8f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#gae66a591c0a0be5b7980fb6faa4eb0e8f">XHDCP22_RNG_REG_CTRL_OFFSET</a>&#160;&#160;&#160;((XHDCP22_RNG_REG_BASE)+(0*4))</td></tr>
<tr class="memdesc:gae66a591c0a0be5b7980fb6faa4eb0e8f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Control register * register offset.  <a href="#gae66a591c0a0be5b7980fb6faa4eb0e8f">More...</a><br /></td></tr>
<tr class="separator:gae66a591c0a0be5b7980fb6faa4eb0e8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac8b533da7335a9a21ab8f5f1b57ebd02"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#gac8b533da7335a9a21ab8f5f1b57ebd02">XHDCP22_RNG_REG_CTRL_SET_OFFSET</a>&#160;&#160;&#160;((XHDCP22_RNG_REG_BASE)+(1*4))</td></tr>
<tr class="memdesc:gac8b533da7335a9a21ab8f5f1b57ebd02"><td class="mdescLeft">&#160;</td><td class="mdescRight">Control set register * offset.  <a href="#gac8b533da7335a9a21ab8f5f1b57ebd02">More...</a><br /></td></tr>
<tr class="separator:gac8b533da7335a9a21ab8f5f1b57ebd02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga49a373a2aac559d5d49fb18dbb63dbde"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#ga49a373a2aac559d5d49fb18dbb63dbde">XHDCP22_RNG_REG_CTRL_CLR_OFFSET</a>&#160;&#160;&#160;((XHDCP22_RNG_REG_BASE)+(2*4))</td></tr>
<tr class="memdesc:ga49a373a2aac559d5d49fb18dbb63dbde"><td class="mdescLeft">&#160;</td><td class="mdescRight">Control clear register * offset.  <a href="#ga49a373a2aac559d5d49fb18dbb63dbde">More...</a><br /></td></tr>
<tr class="separator:ga49a373a2aac559d5d49fb18dbb63dbde"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga918170eea53b0da5f373cf31d5f4ac34"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#ga918170eea53b0da5f373cf31d5f4ac34">XHDCP22_RNG_REG_STA_OFFSET</a>&#160;&#160;&#160;((XHDCP22_RNG_REG_BASE)+(3*4))</td></tr>
<tr class="memdesc:ga918170eea53b0da5f373cf31d5f4ac34"><td class="mdescLeft">&#160;</td><td class="mdescRight">Status register * offset.  <a href="#ga918170eea53b0da5f373cf31d5f4ac34">More...</a><br /></td></tr>
<tr class="separator:ga918170eea53b0da5f373cf31d5f4ac34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga03d330ac1cbe3923383b7a0c0efed3e2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#ga03d330ac1cbe3923383b7a0c0efed3e2">XHDCP22_RNG_REG_RN_1_OFFSET</a>&#160;&#160;&#160;((XHDCP22_RNG_REG_BASE)+(4*4))</td></tr>
<tr class="memdesc:ga03d330ac1cbe3923383b7a0c0efed3e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Random number register 1 * offset.  <a href="#ga03d330ac1cbe3923383b7a0c0efed3e2">More...</a><br /></td></tr>
<tr class="separator:ga03d330ac1cbe3923383b7a0c0efed3e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf8cef3c6e7b5a163e443714753ad3114"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#gaf8cef3c6e7b5a163e443714753ad3114">XHDCP22_RNG_REG_RN_2_OFFSET</a>&#160;&#160;&#160;((XHDCP22_RNG_REG_BASE)+(5*4))</td></tr>
<tr class="memdesc:gaf8cef3c6e7b5a163e443714753ad3114"><td class="mdescLeft">&#160;</td><td class="mdescRight">Random number 2 * offset.  <a href="#gaf8cef3c6e7b5a163e443714753ad3114">More...</a><br /></td></tr>
<tr class="separator:gaf8cef3c6e7b5a163e443714753ad3114"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae86aafee8690f7840c5f0a90ee3a7528"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#gae86aafee8690f7840c5f0a90ee3a7528">XHDCP22_RNG_REG_RN_3_OFFSET</a>&#160;&#160;&#160;((XHDCP22_RNG_REG_BASE)+(6*4))</td></tr>
<tr class="memdesc:gae86aafee8690f7840c5f0a90ee3a7528"><td class="mdescLeft">&#160;</td><td class="mdescRight">Random number 3 * offset.  <a href="#gae86aafee8690f7840c5f0a90ee3a7528">More...</a><br /></td></tr>
<tr class="separator:gae86aafee8690f7840c5f0a90ee3a7528"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga09f9e56c3208fb6a1d9ad8b8d35f3ff2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#ga09f9e56c3208fb6a1d9ad8b8d35f3ff2">XHDCP22_RNG_REG_RN_4_OFFSET</a>&#160;&#160;&#160;((XHDCP22_RNG_REG_BASE)+(7*4))</td></tr>
<tr class="memdesc:ga09f9e56c3208fb6a1d9ad8b8d35f3ff2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Random number 4 * offset.  <a href="#ga09f9e56c3208fb6a1d9ad8b8d35f3ff2">More...</a><br /></td></tr>
<tr class="separator:ga09f9e56c3208fb6a1d9ad8b8d35f3ff2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga833523f96ed484c7e93badf96486e87c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#ga833523f96ed484c7e93badf96486e87c">XHDCP22_RNG_REG_CTRL_RUN_MASK</a>&#160;&#160;&#160;(1&lt;&lt;0)</td></tr>
<tr class="memdesc:ga833523f96ed484c7e93badf96486e87c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Control register Run mask.  <a href="#ga833523f96ed484c7e93badf96486e87c">More...</a><br /></td></tr>
<tr class="separator:ga833523f96ed484c7e93badf96486e87c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaac22781a50c0d69ab6cce05eaa282685"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#gaac22781a50c0d69ab6cce05eaa282685">XHDCP22_RNG_REG_CTRL_IE_MASK</a>&#160;&#160;&#160;(1&lt;&lt;1)</td></tr>
<tr class="memdesc:gaac22781a50c0d69ab6cce05eaa282685"><td class="mdescLeft">&#160;</td><td class="mdescRight">Control register Interrupt Enable mask.  <a href="#gaac22781a50c0d69ab6cce05eaa282685">More...</a><br /></td></tr>
<tr class="separator:gaac22781a50c0d69ab6cce05eaa282685"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa5a077aaf4bd66ea33276fbe8b812824"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#gaa5a077aaf4bd66ea33276fbe8b812824">XHDCP22_RN_REG_STA_IRQ_MASK</a>&#160;&#160;&#160;(1&lt;&lt;0)</td></tr>
<tr class="memdesc:gaa5a077aaf4bd66ea33276fbe8b812824"><td class="mdescLeft">&#160;</td><td class="mdescRight">Status register interrupt mask.  <a href="#gaa5a077aaf4bd66ea33276fbe8b812824">More...</a><br /></td></tr>
<tr class="separator:gaa5a077aaf4bd66ea33276fbe8b812824"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf46b5191a882cce3f77a21bea0090273"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#gaf46b5191a882cce3f77a21bea0090273">XHDCP22_RN_REG_STA_EVT_MASK</a>&#160;&#160;&#160;(1&lt;&lt;1)</td></tr>
<tr class="memdesc:gaf46b5191a882cce3f77a21bea0090273"><td class="mdescLeft">&#160;</td><td class="mdescRight">Status register event mask.  <a href="#gaf46b5191a882cce3f77a21bea0090273">More...</a><br /></td></tr>
<tr class="separator:gaf46b5191a882cce3f77a21bea0090273"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga80e6797beb7aea9d2af847825d596a2c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#ga80e6797beb7aea9d2af847825d596a2c">XHDCP22_RNG_SHIFT_16</a>&#160;&#160;&#160;16</td></tr>
<tr class="memdesc:ga80e6797beb7aea9d2af847825d596a2c"><td class="mdescLeft">&#160;</td><td class="mdescRight">16 shift value  <a href="#ga80e6797beb7aea9d2af847825d596a2c">More...</a><br /></td></tr>
<tr class="separator:ga80e6797beb7aea9d2af847825d596a2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga147e84ce2dd3dae51899f2119d26353c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#ga147e84ce2dd3dae51899f2119d26353c">XHDCP22_RNG_MASK_16</a>&#160;&#160;&#160;0xFFFF</td></tr>
<tr class="memdesc:ga147e84ce2dd3dae51899f2119d26353c"><td class="mdescLeft">&#160;</td><td class="mdescRight">16 bit mask value  <a href="#ga147e84ce2dd3dae51899f2119d26353c">More...</a><br /></td></tr>
<tr class="separator:ga147e84ce2dd3dae51899f2119d26353c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaba6489a8e046d1fa6f482e60a19d3dc5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#gaba6489a8e046d1fa6f482e60a19d3dc5">XHDCP22_RNG_VER_ID</a>&#160;&#160;&#160;0x2200</td></tr>
<tr class="memdesc:gaba6489a8e046d1fa6f482e60a19d3dc5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Version ID.  <a href="#gaba6489a8e046d1fa6f482e60a19d3dc5">More...</a><br /></td></tr>
<tr class="separator:gaba6489a8e046d1fa6f482e60a19d3dc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga978c7ec1b9ddbfd02084306d0aa1e21a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#ga978c7ec1b9ddbfd02084306d0aa1e21a">XHdcp22Rng_CfgInitialize</a> (<a class="el" href="struct_x_hdcp22___rng.html">XHdcp22_Rng</a> *InstancePtr, <a class="el" href="struct_x_hdcp22___rng___config.html">XHdcp22_Rng_Config</a> *CfgPtr, UINTPTR EffectiveAddr)</td></tr>
<tr class="memdesc:ga978c7ec1b9ddbfd02084306d0aa1e21a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes the HDCP22 Rng core.  <a href="#ga978c7ec1b9ddbfd02084306d0aa1e21a">More...</a><br /></td></tr>
<tr class="separator:ga978c7ec1b9ddbfd02084306d0aa1e21a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7e005af26bda452f9939a06d306bfafe"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#ga7e005af26bda452f9939a06d306bfafe">XHdcp22Rng_GetRandom</a> (<a class="el" href="struct_x_hdcp22___rng.html">XHdcp22_Rng</a> *InstancePtr, u8 *BufferPtr, u16 BufferLength, u16 RandomLength)</td></tr>
<tr class="memdesc:ga7e005af26bda452f9939a06d306bfafe"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns a random number.  <a href="#ga7e005af26bda452f9939a06d306bfafe">More...</a><br /></td></tr>
<tr class="separator:ga7e005af26bda452f9939a06d306bfafe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae17d5c8cd598282a6dce822a016ce7ad"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_hdcp22___rng___config.html">XHdcp22_Rng_Config</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#gae17d5c8cd598282a6dce822a016ce7ad">XHdcp22Rng_LookupConfig</a> (u16 DeviceId)</td></tr>
<tr class="memdesc:gae17d5c8cd598282a6dce822a016ce7ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns a reference to an <a class="el" href="struct_x_hdcp22___rng___config.html" title="This typedef contains configuration information for the HDCP22 Rng core. ">XHdcp22_Rng_Config</a> structure based on the core id, <em>DeviceId</em>.  <a href="#gae17d5c8cd598282a6dce822a016ce7ad">More...</a><br /></td></tr>
<tr class="separator:gae17d5c8cd598282a6dce822a016ce7ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac23d7fedd7eb00b9478c4b87a4884e55"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#gac23d7fedd7eb00b9478c4b87a4884e55">XHdcp22Rng_SelfTest</a> (<a class="el" href="struct_x_hdcp22___rng.html">XHdcp22_Rng</a> *InstancePtr)</td></tr>
<tr class="memdesc:gac23d7fedd7eb00b9478c4b87a4884e55"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function reads ID of the peripheral.  <a href="#gac23d7fedd7eb00b9478c4b87a4884e55">More...</a><br /></td></tr>
<tr class="separator:gac23d7fedd7eb00b9478c4b87a4884e55"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Register access macro definition</h2></td></tr>
<tr class="memitem:ga901eb34b54b6bc1db1fbbd2fa98fece4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#ga901eb34b54b6bc1db1fbbd2fa98fece4">XHdcp22Rng_In32</a>&#160;&#160;&#160;Xil_In32</td></tr>
<tr class="memdesc:ga901eb34b54b6bc1db1fbbd2fa98fece4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Input Operations.  <a href="#ga901eb34b54b6bc1db1fbbd2fa98fece4">More...</a><br /></td></tr>
<tr class="separator:ga901eb34b54b6bc1db1fbbd2fa98fece4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3683d6d36c1ec5c3e3da08e9e1f9db2a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#ga3683d6d36c1ec5c3e3da08e9e1f9db2a">XHdcp22Rng_Out32</a>&#160;&#160;&#160;Xil_Out32</td></tr>
<tr class="memdesc:ga3683d6d36c1ec5c3e3da08e9e1f9db2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Output Operations.  <a href="#ga3683d6d36c1ec5c3e3da08e9e1f9db2a">More...</a><br /></td></tr>
<tr class="separator:ga3683d6d36c1ec5c3e3da08e9e1f9db2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3ae6850ae9b44be5a7e6d44e4ec471b9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#ga3ae6850ae9b44be5a7e6d44e4ec471b9">XHdcp22Rng_ReadReg</a>(BaseAddress,  RegOffset)&#160;&#160;&#160;<a class="el" href="group__hdcp22__rng__v1__1.html#ga901eb34b54b6bc1db1fbbd2fa98fece4">XHdcp22Rng_In32</a>((BaseAddress) + ((u32)RegOffset))</td></tr>
<tr class="memdesc:ga3ae6850ae9b44be5a7e6d44e4ec471b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro reads a value from a HDCP22 RNG register.  <a href="#ga3ae6850ae9b44be5a7e6d44e4ec471b9">More...</a><br /></td></tr>
<tr class="separator:ga3ae6850ae9b44be5a7e6d44e4ec471b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac58e8a713f192274a99a0b968e86cf74"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#gac58e8a713f192274a99a0b968e86cf74">XHdcp22Rng_WriteReg</a>(BaseAddress,  RegOffset,  Data)&#160;&#160;&#160;<a class="el" href="group__hdcp22__rng__v1__1.html#ga3683d6d36c1ec5c3e3da08e9e1f9db2a">XHdcp22Rng_Out32</a>((BaseAddress) + ((u32)RegOffset), (u32)(Data))</td></tr>
<tr class="memdesc:gac58e8a713f192274a99a0b968e86cf74"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro writes a value to a HDCP22 RNG register.  <a href="#gac58e8a713f192274a99a0b968e86cf74">More...</a><br /></td></tr>
<tr class="separator:gac58e8a713f192274a99a0b968e86cf74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafbd50a98e3ad1aa99ee9782aa84d6ac7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#gafbd50a98e3ad1aa99ee9782aa84d6ac7">XHdcp22Rng_GetStatusReg</a>(BaseAddress)&#160;&#160;&#160;<a class="el" href="group__hdcp22__rng__v1__1.html#ga3ae6850ae9b44be5a7e6d44e4ec471b9">XHdcp22Rng_ReadReg</a>(BaseAddress, <a class="el" href="group__hdcp22__rng__v1__1.html#ga918170eea53b0da5f373cf31d5f4ac34">XHDCP22_RNG_REG_STA_OFFSET</a>)</td></tr>
<tr class="memdesc:gafbd50a98e3ad1aa99ee9782aa84d6ac7"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro reads the status register from the HDCP22 RNG.  <a href="#gafbd50a98e3ad1aa99ee9782aa84d6ac7">More...</a><br /></td></tr>
<tr class="separator:gafbd50a98e3ad1aa99ee9782aa84d6ac7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabd91ad4f7f8a7f38f9c1acaf429e7db0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rng__v1__1.html#gabd91ad4f7f8a7f38f9c1acaf429e7db0">XHdcp22Rng_GetControlReg</a>(BaseAddress)&#160;&#160;&#160;<a class="el" href="group__hdcp22__rng__v1__1.html#ga3ae6850ae9b44be5a7e6d44e4ec471b9">XHdcp22Rng_ReadReg</a>(BaseAddress, <a class="el" href="group__hdcp22__rng__v1__1.html#gae66a591c0a0be5b7980fb6faa4eb0e8f">XHDCP22_RNG_REG_CTRL_OFFSET</a>)</td></tr>
<tr class="memdesc:gabd91ad4f7f8a7f38f9c1acaf429e7db0"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro reads the control register from the HDCP22 RNG.  <a href="#gabd91ad4f7f8a7f38f9c1acaf429e7db0">More...</a><br /></td></tr>
<tr class="separator:gabd91ad4f7f8a7f38f9c1acaf429e7db0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="gaf46b5191a882cce3f77a21bea0090273"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf46b5191a882cce3f77a21bea0090273">&#9670;&nbsp;</a></span>XHDCP22_RN_REG_STA_EVT_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_RN_REG_STA_EVT_MASK&#160;&#160;&#160;(1&lt;&lt;1)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng__hw_8h.html">xhdcp22_rng_hw.h</a>&gt;</code></p>

<p>Status register event mask. </p>
<p>Reserved for future use. </p>

</div>
</div>
<a id="gaa5a077aaf4bd66ea33276fbe8b812824"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa5a077aaf4bd66ea33276fbe8b812824">&#9670;&nbsp;</a></span>XHDCP22_RN_REG_STA_IRQ_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_RN_REG_STA_IRQ_MASK&#160;&#160;&#160;(1&lt;&lt;0)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng__hw_8h.html">xhdcp22_rng_hw.h</a>&gt;</code></p>

<p>Status register interrupt mask. </p>
<p>Reserved for future use. </p>

</div>
</div>
<a id="gaea4569b3f216fa850fb5ea7682f8e59c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaea4569b3f216fa850fb5ea7682f8e59c">&#9670;&nbsp;</a></span>XHDCP22_RNG_H</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_RNG_H</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng_8h.html">xhdcp22_rng.h</a>&gt;</code></p>

<p>&lt; Prevent circular inclusions by using protection macros </p>

</div>
</div>
<a id="ga5eed3855470b5a7c6412d9a513909763"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5eed3855470b5a7c6412d9a513909763">&#9670;&nbsp;</a></span>XHDCP22_RNG_HW_H</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_RNG_HW_H</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng__hw_8h.html">xhdcp22_rng_hw.h</a>&gt;</code></p>

<p>&lt; Prevent circular inclusions by using protection macros </p>

</div>
</div>
<a id="ga147e84ce2dd3dae51899f2119d26353c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga147e84ce2dd3dae51899f2119d26353c">&#9670;&nbsp;</a></span>XHDCP22_RNG_MASK_16</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_RNG_MASK_16&#160;&#160;&#160;0xFFFF</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng__hw_8h.html">xhdcp22_rng_hw.h</a>&gt;</code></p>

<p>16 bit mask value </p>

<p class="reference">Referenced by <a class="el" href="group__hdcp22__rng__v1__1.html#ga978c7ec1b9ddbfd02084306d0aa1e21a">XHdcp22Rng_CfgInitialize()</a>, and <a class="el" href="group__hdcp22__rng__v1__1.html#gac23d7fedd7eb00b9478c4b87a4884e55">XHdcp22Rng_SelfTest()</a>.</p>

</div>
</div>
<a id="ga49a373a2aac559d5d49fb18dbb63dbde"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga49a373a2aac559d5d49fb18dbb63dbde">&#9670;&nbsp;</a></span>XHDCP22_RNG_REG_CTRL_CLR_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_RNG_REG_CTRL_CLR_OFFSET&#160;&#160;&#160;((XHDCP22_RNG_REG_BASE)+(2*4))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng__hw_8h.html">xhdcp22_rng_hw.h</a>&gt;</code></p>

<p>Control clear register * offset. </p>

</div>
</div>
<a id="gaac22781a50c0d69ab6cce05eaa282685"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaac22781a50c0d69ab6cce05eaa282685">&#9670;&nbsp;</a></span>XHDCP22_RNG_REG_CTRL_IE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_RNG_REG_CTRL_IE_MASK&#160;&#160;&#160;(1&lt;&lt;1)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng__hw_8h.html">xhdcp22_rng_hw.h</a>&gt;</code></p>

<p>Control register Interrupt Enable mask. </p>
<p>Reserved for future use. </p>

</div>
</div>
<a id="gae66a591c0a0be5b7980fb6faa4eb0e8f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae66a591c0a0be5b7980fb6faa4eb0e8f">&#9670;&nbsp;</a></span>XHDCP22_RNG_REG_CTRL_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_RNG_REG_CTRL_OFFSET&#160;&#160;&#160;((XHDCP22_RNG_REG_BASE)+(0*4))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng__hw_8h.html">xhdcp22_rng_hw.h</a>&gt;</code></p>

<p>Control register * register offset. </p>

</div>
</div>
<a id="ga833523f96ed484c7e93badf96486e87c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga833523f96ed484c7e93badf96486e87c">&#9670;&nbsp;</a></span>XHDCP22_RNG_REG_CTRL_RUN_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_RNG_REG_CTRL_RUN_MASK&#160;&#160;&#160;(1&lt;&lt;0)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng__hw_8h.html">xhdcp22_rng_hw.h</a>&gt;</code></p>

<p>Control register Run mask. </p>

</div>
</div>
<a id="gac8b533da7335a9a21ab8f5f1b57ebd02"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac8b533da7335a9a21ab8f5f1b57ebd02">&#9670;&nbsp;</a></span>XHDCP22_RNG_REG_CTRL_SET_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_RNG_REG_CTRL_SET_OFFSET&#160;&#160;&#160;((XHDCP22_RNG_REG_BASE)+(1*4))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng__hw_8h.html">xhdcp22_rng_hw.h</a>&gt;</code></p>

<p>Control set register * offset. </p>

</div>
</div>
<a id="ga03d330ac1cbe3923383b7a0c0efed3e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga03d330ac1cbe3923383b7a0c0efed3e2">&#9670;&nbsp;</a></span>XHDCP22_RNG_REG_RN_1_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_RNG_REG_RN_1_OFFSET&#160;&#160;&#160;((XHDCP22_RNG_REG_BASE)+(4*4))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng__hw_8h.html">xhdcp22_rng_hw.h</a>&gt;</code></p>

<p>Random number register 1 * offset. </p>

<p class="reference">Referenced by <a class="el" href="group__hdcp22__rng__v1__1.html#ga7e005af26bda452f9939a06d306bfafe">XHdcp22Rng_GetRandom()</a>.</p>

</div>
</div>
<a id="gaf8cef3c6e7b5a163e443714753ad3114"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf8cef3c6e7b5a163e443714753ad3114">&#9670;&nbsp;</a></span>XHDCP22_RNG_REG_RN_2_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_RNG_REG_RN_2_OFFSET&#160;&#160;&#160;((XHDCP22_RNG_REG_BASE)+(5*4))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng__hw_8h.html">xhdcp22_rng_hw.h</a>&gt;</code></p>

<p>Random number 2 * offset. </p>

</div>
</div>
<a id="gae86aafee8690f7840c5f0a90ee3a7528"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae86aafee8690f7840c5f0a90ee3a7528">&#9670;&nbsp;</a></span>XHDCP22_RNG_REG_RN_3_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_RNG_REG_RN_3_OFFSET&#160;&#160;&#160;((XHDCP22_RNG_REG_BASE)+(6*4))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng__hw_8h.html">xhdcp22_rng_hw.h</a>&gt;</code></p>

<p>Random number 3 * offset. </p>

</div>
</div>
<a id="ga09f9e56c3208fb6a1d9ad8b8d35f3ff2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga09f9e56c3208fb6a1d9ad8b8d35f3ff2">&#9670;&nbsp;</a></span>XHDCP22_RNG_REG_RN_4_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_RNG_REG_RN_4_OFFSET&#160;&#160;&#160;((XHDCP22_RNG_REG_BASE)+(7*4))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng__hw_8h.html">xhdcp22_rng_hw.h</a>&gt;</code></p>

<p>Random number 4 * offset. </p>

</div>
</div>
<a id="ga918170eea53b0da5f373cf31d5f4ac34"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga918170eea53b0da5f373cf31d5f4ac34">&#9670;&nbsp;</a></span>XHDCP22_RNG_REG_STA_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_RNG_REG_STA_OFFSET&#160;&#160;&#160;((XHDCP22_RNG_REG_BASE)+(3*4))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng__hw_8h.html">xhdcp22_rng_hw.h</a>&gt;</code></p>

<p>Status register * offset. </p>

</div>
</div>
<a id="ga80e6797beb7aea9d2af847825d596a2c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga80e6797beb7aea9d2af847825d596a2c">&#9670;&nbsp;</a></span>XHDCP22_RNG_SHIFT_16</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_RNG_SHIFT_16&#160;&#160;&#160;16</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng__hw_8h.html">xhdcp22_rng_hw.h</a>&gt;</code></p>

<p>16 shift value </p>

<p class="reference">Referenced by <a class="el" href="group__hdcp22__rng__v1__1.html#ga978c7ec1b9ddbfd02084306d0aa1e21a">XHdcp22Rng_CfgInitialize()</a>, and <a class="el" href="group__hdcp22__rng__v1__1.html#gac23d7fedd7eb00b9478c4b87a4884e55">XHdcp22Rng_SelfTest()</a>.</p>

</div>
</div>
<a id="gaba6489a8e046d1fa6f482e60a19d3dc5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaba6489a8e046d1fa6f482e60a19d3dc5">&#9670;&nbsp;</a></span>XHDCP22_RNG_VER_ID</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_RNG_VER_ID&#160;&#160;&#160;0x2200</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng__hw_8h.html">xhdcp22_rng_hw.h</a>&gt;</code></p>

<p>Version ID. </p>

<p class="reference">Referenced by <a class="el" href="group__hdcp22__rng__v1__1.html#ga978c7ec1b9ddbfd02084306d0aa1e21a">XHdcp22Rng_CfgInitialize()</a>, and <a class="el" href="group__hdcp22__rng__v1__1.html#gac23d7fedd7eb00b9478c4b87a4884e55">XHdcp22Rng_SelfTest()</a>.</p>

</div>
</div>
<a id="ga8a57666026351d255bf7e60f411dcc44"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8a57666026351d255bf7e60f411dcc44">&#9670;&nbsp;</a></span>XHDCP22_RNG_VER_ID_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_RNG_VER_ID_OFFSET&#160;&#160;&#160;((XHDCP22_RNG_VER_BASE)+(0*4))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng__hw_8h.html">xhdcp22_rng_hw.h</a>&gt;</code></p>

<p>VER Identification register * register offset. </p>

<p class="reference">Referenced by <a class="el" href="group__hdcp22__rng__v1__1.html#ga978c7ec1b9ddbfd02084306d0aa1e21a">XHdcp22Rng_CfgInitialize()</a>, and <a class="el" href="group__hdcp22__rng__v1__1.html#gac23d7fedd7eb00b9478c4b87a4884e55">XHdcp22Rng_SelfTest()</a>.</p>

</div>
</div>
<a id="ga53979633643a30a920e5db152b5aef63"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga53979633643a30a920e5db152b5aef63">&#9670;&nbsp;</a></span>XHDCP22_RNG_VER_VERSION_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_RNG_VER_VERSION_OFFSET&#160;&#160;&#160;((XHDCP22_RNG_VER_BASE)+(1*4))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng__hw_8h.html">xhdcp22_rng_hw.h</a>&gt;</code></p>

<p>VER Version register * offset. </p>

</div>
</div>
<a id="ga640f54bbe7fcc1a4e40f19b497d1e982"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga640f54bbe7fcc1a4e40f19b497d1e982">&#9670;&nbsp;</a></span>XHdcp22Rng_Disable</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHdcp22Rng_Disable</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng_8h.html">xhdcp22_rng.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group__hdcp22__rng__v1__1.html#gac58e8a713f192274a99a0b968e86cf74">XHdcp22Rng_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div><div class="line">        (<a class="code" href="group__hdcp22__rng__v1__1.html#ga49a373a2aac559d5d49fb18dbb63dbde">XHDCP22_RNG_REG_CTRL_CLR_OFFSET</a>), (<a class="code" href="group__hdcp22__rng__v1__1.html#ga833523f96ed484c7e93badf96486e87c">XHDCP22_RNG_REG_CTRL_RUN_MASK</a>))</div><div class="ttc" id="group__hdcp22__rng__v1__1_html_ga49a373a2aac559d5d49fb18dbb63dbde"><div class="ttname"><a href="group__hdcp22__rng__v1__1.html#ga49a373a2aac559d5d49fb18dbb63dbde">XHDCP22_RNG_REG_CTRL_CLR_OFFSET</a></div><div class="ttdeci">#define XHDCP22_RNG_REG_CTRL_CLR_OFFSET</div><div class="ttdoc">Control clear register * offset. </div><div class="ttdef"><b>Definition:</b> xhdcp22_rng_hw.h:79</div></div>
<div class="ttc" id="group__hdcp22__rng__v1__1_html_ga833523f96ed484c7e93badf96486e87c"><div class="ttname"><a href="group__hdcp22__rng__v1__1.html#ga833523f96ed484c7e93badf96486e87c">XHDCP22_RNG_REG_CTRL_RUN_MASK</a></div><div class="ttdeci">#define XHDCP22_RNG_REG_CTRL_RUN_MASK</div><div class="ttdoc">Control register Run mask. </div><div class="ttdef"><b>Definition:</b> xhdcp22_rng_hw.h:93</div></div>
<div class="ttc" id="group__hdcp22__rng__v1__1_html_gac58e8a713f192274a99a0b968e86cf74"><div class="ttname"><a href="group__hdcp22__rng__v1__1.html#gac58e8a713f192274a99a0b968e86cf74">XHdcp22Rng_WriteReg</a></div><div class="ttdeci">#define XHdcp22Rng_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">This macro writes a value to a HDCP22 RNG register. </div><div class="ttdef"><b>Definition:</b> xhdcp22_rng_hw.h:158</div></div>
</div><!-- fragment -->
<p>This macro disables the HDCP22 RNG peripheral. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the HDCP22 RNG core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__hdcp22__rng__v1__1.html#ga640f54bbe7fcc1a4e40f19b497d1e982" title="This macro disables the HDCP22 RNG peripheral. ">XHdcp22Rng_Disable(u32 BaseAddress)</a> </dd></dl>

</div>
</div>
<a id="gad006a0ad38fbd6e0fef9221d012deaba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad006a0ad38fbd6e0fef9221d012deaba">&#9670;&nbsp;</a></span>XHdcp22Rng_Enable</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHdcp22Rng_Enable</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng_8h.html">xhdcp22_rng.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group__hdcp22__rng__v1__1.html#gac58e8a713f192274a99a0b968e86cf74">XHdcp22Rng_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div><div class="line">       (<a class="code" href="group__hdcp22__rng__v1__1.html#gac8b533da7335a9a21ab8f5f1b57ebd02">XHDCP22_RNG_REG_CTRL_SET_OFFSET</a>), (<a class="code" href="group__hdcp22__rng__v1__1.html#ga833523f96ed484c7e93badf96486e87c">XHDCP22_RNG_REG_CTRL_RUN_MASK</a>))</div><div class="ttc" id="group__hdcp22__rng__v1__1_html_gac8b533da7335a9a21ab8f5f1b57ebd02"><div class="ttname"><a href="group__hdcp22__rng__v1__1.html#gac8b533da7335a9a21ab8f5f1b57ebd02">XHDCP22_RNG_REG_CTRL_SET_OFFSET</a></div><div class="ttdeci">#define XHDCP22_RNG_REG_CTRL_SET_OFFSET</div><div class="ttdoc">Control set register * offset. </div><div class="ttdef"><b>Definition:</b> xhdcp22_rng_hw.h:77</div></div>
<div class="ttc" id="group__hdcp22__rng__v1__1_html_ga833523f96ed484c7e93badf96486e87c"><div class="ttname"><a href="group__hdcp22__rng__v1__1.html#ga833523f96ed484c7e93badf96486e87c">XHDCP22_RNG_REG_CTRL_RUN_MASK</a></div><div class="ttdeci">#define XHDCP22_RNG_REG_CTRL_RUN_MASK</div><div class="ttdoc">Control register Run mask. </div><div class="ttdef"><b>Definition:</b> xhdcp22_rng_hw.h:93</div></div>
<div class="ttc" id="group__hdcp22__rng__v1__1_html_gac58e8a713f192274a99a0b968e86cf74"><div class="ttname"><a href="group__hdcp22__rng__v1__1.html#gac58e8a713f192274a99a0b968e86cf74">XHdcp22Rng_WriteReg</a></div><div class="ttdeci">#define XHdcp22Rng_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">This macro writes a value to a HDCP22 RNG register. </div><div class="ttdef"><b>Definition:</b> xhdcp22_rng_hw.h:158</div></div>
</div><!-- fragment -->
<p>This macro enables the HDCP22 RNG peripheral. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the HDCP22 RNG core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__hdcp22__rng__v1__1.html#gad006a0ad38fbd6e0fef9221d012deaba" title="This macro enables the HDCP22 RNG peripheral. ">XHdcp22Rng_Enable(u32 BaseAddress)</a> </dd></dl>

</div>
</div>
<a id="gabd91ad4f7f8a7f38f9c1acaf429e7db0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabd91ad4f7f8a7f38f9c1acaf429e7db0">&#9670;&nbsp;</a></span>XHdcp22Rng_GetControlReg</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHdcp22Rng_GetControlReg</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress</td><td>)</td>
          <td>&#160;&#160;&#160;<a class="el" href="group__hdcp22__rng__v1__1.html#ga3ae6850ae9b44be5a7e6d44e4ec471b9">XHdcp22Rng_ReadReg</a>(BaseAddress, <a class="el" href="group__hdcp22__rng__v1__1.html#gae66a591c0a0be5b7980fb6faa4eb0e8f">XHDCP22_RNG_REG_CTRL_OFFSET</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng__hw_8h.html">xhdcp22_rng_hw.h</a>&gt;</code></p>

<p>This macro reads the control register from the HDCP22 RNG. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the base address of the HDCP22 RNG core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A 32-bit value representing the contents of the control register.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: u32 <a class="el" href="group__hdcp22__rng__v1__1.html#gafbd50a98e3ad1aa99ee9782aa84d6ac7" title="This macro reads the status register from the HDCP22 RNG. ">XHdcp22Rng_GetStatusReg(u32 BaseAddress)</a> </dd></dl>

</div>
</div>
<a id="gafbd50a98e3ad1aa99ee9782aa84d6ac7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafbd50a98e3ad1aa99ee9782aa84d6ac7">&#9670;&nbsp;</a></span>XHdcp22Rng_GetStatusReg</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHdcp22Rng_GetStatusReg</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress</td><td>)</td>
          <td>&#160;&#160;&#160;<a class="el" href="group__hdcp22__rng__v1__1.html#ga3ae6850ae9b44be5a7e6d44e4ec471b9">XHdcp22Rng_ReadReg</a>(BaseAddress, <a class="el" href="group__hdcp22__rng__v1__1.html#ga918170eea53b0da5f373cf31d5f4ac34">XHDCP22_RNG_REG_STA_OFFSET</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng__hw_8h.html">xhdcp22_rng_hw.h</a>&gt;</code></p>

<p>This macro reads the status register from the HDCP22 RNG. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the base address of the HDCP22 RNG core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A 32-bit value representing the contents of the status register.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: u32 <a class="el" href="group__hdcp22__rng__v1__1.html#gafbd50a98e3ad1aa99ee9782aa84d6ac7" title="This macro reads the status register from the HDCP22 RNG. ">XHdcp22Rng_GetStatusReg(u32 BaseAddress)</a> </dd></dl>

</div>
</div>
<a id="ga901eb34b54b6bc1db1fbbd2fa98fece4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga901eb34b54b6bc1db1fbbd2fa98fece4">&#9670;&nbsp;</a></span>XHdcp22Rng_In32</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHdcp22Rng_In32&#160;&#160;&#160;Xil_In32</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng__hw_8h.html">xhdcp22_rng_hw.h</a>&gt;</code></p>

<p>Input Operations. </p>

</div>
</div>
<a id="gaec0fb65709ad82ac57e967b377d0b76d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaec0fb65709ad82ac57e967b377d0b76d">&#9670;&nbsp;</a></span>XHdcp22Rng_IsEnabled</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHdcp22Rng_IsEnabled</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng_8h.html">xhdcp22_rng.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line">((<a class="code" href="group__hdcp22__rng__v1__1.html#gabd91ad4f7f8a7f38f9c1acaf429e7db0">XHdcp22Rng_GetControlReg</a>((InstancePtr)-&gt;Config.BaseAddress)\</div><div class="line">        &amp; <a class="code" href="group__hdcp22__rng__v1__1.html#ga833523f96ed484c7e93badf96486e87c">XHDCP22_RNG_REG_CTRL_RUN_MASK</a>) ==  <a class="code" href="group__hdcp22__rng__v1__1.html#ga833523f96ed484c7e93badf96486e87c">XHDCP22_RNG_REG_CTRL_RUN_MASK</a>)</div><div class="ttc" id="group__hdcp22__rng__v1__1_html_gabd91ad4f7f8a7f38f9c1acaf429e7db0"><div class="ttname"><a href="group__hdcp22__rng__v1__1.html#gabd91ad4f7f8a7f38f9c1acaf429e7db0">XHdcp22Rng_GetControlReg</a></div><div class="ttdeci">#define XHdcp22Rng_GetControlReg(BaseAddress)</div><div class="ttdoc">This macro reads the control register from the HDCP22 RNG. </div><div class="ttdef"><b>Definition:</b> xhdcp22_rng_hw.h:190</div></div>
<div class="ttc" id="group__hdcp22__rng__v1__1_html_ga833523f96ed484c7e93badf96486e87c"><div class="ttname"><a href="group__hdcp22__rng__v1__1.html#ga833523f96ed484c7e93badf96486e87c">XHDCP22_RNG_REG_CTRL_RUN_MASK</a></div><div class="ttdeci">#define XHDCP22_RNG_REG_CTRL_RUN_MASK</div><div class="ttdoc">Control register Run mask. </div><div class="ttdef"><b>Definition:</b> xhdcp22_rng_hw.h:93</div></div>
</div><!-- fragment -->
<p>This macro returns the enabled state of HDCP22 RNG. </p>
<p>for the HDCP22 RNG peripheral. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the HDCP22 RNG core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if HDCP22 RNG is enabled, FALSE otherwise.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: u32 <a class="el" href="group__hdcp22__rng__v1__1.html#gaec0fb65709ad82ac57e967b377d0b76d" title="This macro returns the enabled state of HDCP22 RNG. ">XHdcp22Rng_IsEnabled(u32 BaseAddress)</a> </dd></dl>

</div>
</div>
<a id="ga3683d6d36c1ec5c3e3da08e9e1f9db2a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3683d6d36c1ec5c3e3da08e9e1f9db2a">&#9670;&nbsp;</a></span>XHdcp22Rng_Out32</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHdcp22Rng_Out32&#160;&#160;&#160;Xil_Out32</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng__hw_8h.html">xhdcp22_rng_hw.h</a>&gt;</code></p>

<p>Output Operations. </p>

</div>
</div>
<a id="ga3ae6850ae9b44be5a7e6d44e4ec471b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3ae6850ae9b44be5a7e6d44e4ec471b9">&#9670;&nbsp;</a></span>XHdcp22Rng_ReadReg</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHdcp22Rng_ReadReg</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">RegOffset&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;<a class="el" href="group__hdcp22__rng__v1__1.html#ga901eb34b54b6bc1db1fbbd2fa98fece4">XHdcp22Rng_In32</a>((BaseAddress) + ((u32)RegOffset))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng__hw_8h.html">xhdcp22_rng_hw.h</a>&gt;</code></p>

<p>This macro reads a value from a HDCP22 RNG register. </p>
<p>A 32 bit read is performed. If the component is implemented in a smaller width, only the least significant data is read from the register. The most significant data will be read as 0.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the base address of the HDCP22 RNG core instance. </td></tr>
    <tr><td class="paramname">RegOffset</td><td>is the register offset of the register (defined at the top of this file).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The 32-bit value of the register.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: u32 <a class="el" href="group__hdcp22__rng__v1__1.html#ga3ae6850ae9b44be5a7e6d44e4ec471b9" title="This macro reads a value from a HDCP22 RNG register. ">XHdcp22Rng_ReadReg(u32 BaseAddress, u32 RegOffset)</a> </dd></dl>

<p class="reference">Referenced by <a class="el" href="group__hdcp22__rng__v1__1.html#ga978c7ec1b9ddbfd02084306d0aa1e21a">XHdcp22Rng_CfgInitialize()</a>, <a class="el" href="group__hdcp22__rng__v1__1.html#ga7e005af26bda452f9939a06d306bfafe">XHdcp22Rng_GetRandom()</a>, and <a class="el" href="group__hdcp22__rng__v1__1.html#gac23d7fedd7eb00b9478c4b87a4884e55">XHdcp22Rng_SelfTest()</a>.</p>

</div>
</div>
<a id="gac58e8a713f192274a99a0b968e86cf74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac58e8a713f192274a99a0b968e86cf74">&#9670;&nbsp;</a></span>XHdcp22Rng_WriteReg</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHdcp22Rng_WriteReg</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">RegOffset, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">Data&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;<a class="el" href="group__hdcp22__rng__v1__1.html#ga3683d6d36c1ec5c3e3da08e9e1f9db2a">XHdcp22Rng_Out32</a>((BaseAddress) + ((u32)RegOffset), (u32)(Data))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng__hw_8h.html">xhdcp22_rng_hw.h</a>&gt;</code></p>

<p>This macro writes a value to a HDCP22 RNG register. </p>
<p>A 32 bit write is performed. If the component is implemented in a smaller width, only the least significant data is written.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the base address of the HDCP22 RNG core instance. </td></tr>
    <tr><td class="paramname">RegOffset</td><td>is the register offset of the register (defined at the top of this file) to be written. </td></tr>
    <tr><td class="paramname">Data</td><td>is the 32-bit value to write into the register.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__hdcp22__rng__v1__1.html#gac58e8a713f192274a99a0b968e86cf74" title="This macro writes a value to a HDCP22 RNG register. ">XHdcp22Rng_WriteReg(u32 BaseAddress, u32 RegOffset, u32 Data)</a> </dd></dl>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga978c7ec1b9ddbfd02084306d0aa1e21a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga978c7ec1b9ddbfd02084306d0aa1e21a">&#9670;&nbsp;</a></span>XHdcp22Rng_CfgInitialize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XHdcp22Rng_CfgInitialize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_hdcp22___rng.html">XHdcp22_Rng</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_x_hdcp22___rng___config.html">XHdcp22_Rng_Config</a> *&#160;</td>
          <td class="paramname"><em>CfgPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UINTPTR&#160;</td>
          <td class="paramname"><em>EffectiveAddr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng_8c.html">xhdcp22_rng.c</a>&gt;</code></p>

<p>This function initializes the HDCP22 Rng core. </p>
<p>This function must be called prior to using the HDCP22 Rng core. Initialization of the HDCP22 Rng includes setting up the instance data, and ensuring the hardware is in a quiescent state.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_hdcp22___rng.html" title="The XHdcp22 Rng driver instance data. ">XHdcp22_Rng</a> core instance. </td></tr>
    <tr><td class="paramname">CfgPtr</td><td>points to the configuration structure associated with the HDCP22 Rng core core. </td></tr>
    <tr><td class="paramname">EffectiveAddr</td><td>is the base address of the device. If address translation is being used, then this parameter must reflect the virtual base address. Otherwise, the physical address should be used.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if XHdcp22Rng_CfgInitialize was successful.</li>
<li>XST_FAILURE if HDCP22 Rng ID mismatched.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_hdcp22___rng___config.html#a6d648178a59f2cea284b646c65ea594c">XHdcp22_Rng_Config::BaseAddress</a>, <a class="el" href="struct_x_hdcp22___rng.html#a0b1f66ab42d2548e531cc37919df33b2">XHdcp22_Rng::Config</a>, <a class="el" href="struct_x_hdcp22___rng.html#a140562272992a14bf4a9644f02c24dae">XHdcp22_Rng::IsReady</a>, <a class="el" href="group__hdcp22__rng__v1__1.html#ga147e84ce2dd3dae51899f2119d26353c">XHDCP22_RNG_MASK_16</a>, <a class="el" href="group__hdcp22__rng__v1__1.html#ga80e6797beb7aea9d2af847825d596a2c">XHDCP22_RNG_SHIFT_16</a>, <a class="el" href="group__hdcp22__rng__v1__1.html#gaba6489a8e046d1fa6f482e60a19d3dc5">XHDCP22_RNG_VER_ID</a>, <a class="el" href="group__hdcp22__rng__v1__1.html#ga8a57666026351d255bf7e60f411dcc44">XHDCP22_RNG_VER_ID_OFFSET</a>, and <a class="el" href="group__hdcp22__rng__v1__1.html#ga3ae6850ae9b44be5a7e6d44e4ec471b9">XHdcp22Rng_ReadReg</a>.</p>

</div>
</div>
<a id="ga7e005af26bda452f9939a06d306bfafe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7e005af26bda452f9939a06d306bfafe">&#9670;&nbsp;</a></span>XHdcp22Rng_GetRandom()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XHdcp22Rng_GetRandom </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_hdcp22___rng.html">XHdcp22_Rng</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>BufferPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>BufferLength</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>RandomLength</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng_8c.html">xhdcp22_rng.c</a>&gt;</code></p>

<p>This function returns a random number. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_hdcp22___rng.html" title="The XHdcp22 Rng driver instance data. ">XHdcp22_Rng</a> core instance. </td></tr>
    <tr><td class="paramname">BufferPtr</td><td>points to the buffer that will contain a random number. </td></tr>
    <tr><td class="paramname">BufferLength</td><td>is the length of the BufferPtr in bytes. The length must be greater than or equal to RandomLength. </td></tr>
    <tr><td class="paramname">RandomLength</td><td>is the requested length of the random number in bytes. The length must be a multiple of 4</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_hdcp22___rng___config.html#a6d648178a59f2cea284b646c65ea594c">XHdcp22_Rng_Config::BaseAddress</a>, <a class="el" href="struct_x_hdcp22___rng.html#a0b1f66ab42d2548e531cc37919df33b2">XHdcp22_Rng::Config</a>, <a class="el" href="group__hdcp22__rng__v1__1.html#ga03d330ac1cbe3923383b7a0c0efed3e2">XHDCP22_RNG_REG_RN_1_OFFSET</a>, and <a class="el" href="group__hdcp22__rng__v1__1.html#ga3ae6850ae9b44be5a7e6d44e4ec471b9">XHdcp22Rng_ReadReg</a>.</p>

</div>
</div>
<a id="gae17d5c8cd598282a6dce822a016ce7ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae17d5c8cd598282a6dce822a016ce7ad">&#9670;&nbsp;</a></span>XHdcp22Rng_LookupConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_hdcp22___rng___config.html">XHdcp22_Rng_Config</a> * XHdcp22Rng_LookupConfig </td>
          <td>(</td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>DeviceId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng_8h.html">xhdcp22_rng.h</a>&gt;</code></p>

<p>This function returns a reference to an <a class="el" href="struct_x_hdcp22___rng___config.html" title="This typedef contains configuration information for the HDCP22 Rng core. ">XHdcp22_Rng_Config</a> structure based on the core id, <em>DeviceId</em>. </p>
<p>The return value will refer to an entry in the device configuration table defined in the xhdcp22_rng_g.c file.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">DeviceId</td><td>is the unique core ID of the XHDCP22 Rng core for the lookup operation.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XHdcp22Rng_LookupConfig returns a reference to a config record in the configuration table (in xhdcp22_rng_g.c) corresponding to <em>DeviceId</em>, or NULL if no match is found.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="gac23d7fedd7eb00b9478c4b87a4884e55"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac23d7fedd7eb00b9478c4b87a4884e55">&#9670;&nbsp;</a></span>XHdcp22Rng_SelfTest()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XHdcp22Rng_SelfTest </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_hdcp22___rng.html">XHdcp22_Rng</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__rng__selftest_8c.html">xhdcp22_rng_selftest.c</a>&gt;</code></p>

<p>This function reads ID of the peripheral. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the HDCP22 Rng core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if ID was matched.</li>
<li>XST_FAILURE if ID was mismatched.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_hdcp22___rng___config.html#a6d648178a59f2cea284b646c65ea594c">XHdcp22_Rng_Config::BaseAddress</a>, <a class="el" href="struct_x_hdcp22___rng.html#a0b1f66ab42d2548e531cc37919df33b2">XHdcp22_Rng::Config</a>, <a class="el" href="group__hdcp22__rng__v1__1.html#ga147e84ce2dd3dae51899f2119d26353c">XHDCP22_RNG_MASK_16</a>, <a class="el" href="group__hdcp22__rng__v1__1.html#ga80e6797beb7aea9d2af847825d596a2c">XHDCP22_RNG_SHIFT_16</a>, <a class="el" href="group__hdcp22__rng__v1__1.html#gaba6489a8e046d1fa6f482e60a19d3dc5">XHDCP22_RNG_VER_ID</a>, <a class="el" href="group__hdcp22__rng__v1__1.html#ga8a57666026351d255bf7e60f411dcc44">XHDCP22_RNG_VER_ID_OFFSET</a>, and <a class="el" href="group__hdcp22__rng__v1__1.html#ga3ae6850ae9b44be5a7e6d44e4ec471b9">XHdcp22Rng_ReadReg</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
